package app.vendorportal.api.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Bribin
 */
@XmlRootElement(name = "warehouse-info")
@XmlAccessorType(XmlAccessType.FIELD)
public class WarehouseInfo {

    @XmlElement(name = "warehouse-code")
    private String warehouseCode;

    @XmlElement(name = "gift-wrap")
    private boolean giftWrap;

    @XmlElement(name = "personalization")
    private boolean personalization;

    public WarehouseInfo() {
    }

    public WarehouseInfo(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public WarehouseInfo(String warehouseCode, boolean giftWrap, boolean personalization) {
        this.warehouseCode = warehouseCode;
        this.giftWrap = giftWrap;
        this.personalization = personalization;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public boolean isGiftWrap() {
        return giftWrap;
    }

    public void setGiftWrap(boolean giftWrap) {
        this.giftWrap = giftWrap;
    }

    public boolean isPersonalization() {
        return personalization;
    }

    public void setPersonalization(boolean personalization) {
        this.personalization = personalization;
    }

}
